package com.gzgy.ustore.api.service;

import com.gzgy.ustore.api.model.OrgTreeList;
import com.ustore.model.Organization;

import java.sql.SQLException;
import java.util.List;

public interface OrganizationService {

    public List<OrgTreeList> orgListTree(Integer companyId);

    public  String addOrganization(Organization organization);

    public  Organization getOrgById(String id) throws SQLException;

    public  String orgOperation(Organization organization,String flag) throws SQLException;
}
